package com.xuecheng.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.auth.model.dto.RegisterRequestDto;
import com.xuecheng.auth.model.po.XcUser;

public interface XcUserService extends IService<XcUser> {
    /**
     * 给机构人员或教师开通账号
     * @param companyId
     * @return
     */
    XcUser createAccount(Long companyId);

    /**
     * 学生注册账号
     * @param request
     * @return
     */
    XcUser register(RegisterRequestDto request);
}
